package Car.dao;

import Car.model.Car;
import Car.model.Transport;
import Car.model.spr.*;

import java.util.List;

/**
 * Created by Новак on 27.11.2014.
 */
public interface CarDao {
    List getAllCar();
    Car getCarId(int id);
    void addCar(Car car,Transport tr);
    void addTransport(Transport tr);

    List<spr_Color> getColor();
    List<spr_Transmission> getTransmission();
    List<spr_Privod> getPrivod();
    List<spr_Brand> getBrand();
    List<spr_Currency> getCurrency();
    List<spr_Model> getModel();
    List<spr_CarType> getCarType();
    List<spr_Condition> getCondition();
    List<spr_TransportType> getTransportType();
    List<Transport> getTransports();
}
